FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER lao4ji@163.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

VOLUME /tmp

EXPOSE 8888

ADD springboot-mybatis.jar app.jar

RUN sh -c 'touch /app.jar'

ENV JAVA_OPTS=""

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
